$boolean =   $session->getPropIsRelationship( $class, $property )

The getPropIsRelationship() function indicates whether the specified class property is a relationship.

 if ( $session->getPropIsRelationship( "Router",
       "ComposedOf" ))
 {
  print "ComposedOf is a relationship\n”;
 }