Added a function to check if an attribute can belong to a filtered replica.