If you are asking how to test this in code to make some logical decision, perhaps, you could :
if($b instanceof Displayable) {
echo "yes";
} else {
echo "no";
}
You can also do the same thing with the is_a() function if you prefer -- just a style choice, really.