$boolean = $session->isMember( $object1, $relation, $object2)

The isMember() function returns TRUE if $object2 is a member of the specified $object1 relationship.

 $flag = $session->isMember( "Router::strrtbos",
     "ComposedOf",
     "Interface::IF-strrtbos/1" );