(self)
return True
returns true is the object contains no submovement (line or cell)
returns true is the object contains no submovement (line or cell)
returns true is the object contains no submovement ( line or cell )
def isMovement(self):
    """
    returns true is the object contains no submovement (line or cell)
    """
    object_list = self.objectValues()
    if object_list:
      portal_type = self.getPortalObject().getPortalMovementTypeList()
      for ob in object_list:
        if ob.getPortalType() in portal_type:
          return False
    return True
def isMovement ( self ) : object_list = self . objectValues ( ) if object_list : portal_type = self . getPortalObject ( ) . getPortalMovementTypeList ( ) for ob in object_list : if ob . getPortalType ( ) in portal_type : return False return True