Make the concept of passability a boolean variable.
Those that are inpassable have it set to false, those
that are passable have it set to true.
Alternatively, you can make 2 empty interfaces for
Passable and Impassable. There is a way to determine
if an object implements these, i believe it is in the
Class class.