parameters: (self, obj)
return_statement: return "sync" in [p.get_sync() for p in obj.get_ports()]
docstring: Tests the list of ports in the model and if any one is a sync returns true
          else returns false.
docstring_summary: Tests the list of ports in the model and if any one is a sync returns true
          else returns false.
docstring_tokens: Tests the list of ports in the model and if any one is a sync returns true else returns false .
function: def hasSyncPort(self, obj):
          """
          Tests the list of ports in the model and if any one is a sync returns true
          else returns false.
          """
          return "sync" in [p.get_sync() for p in obj.get_ports()]
function_tokens: def hasSyncPort ( self , obj ) : return "sync" in [ p . get_sync ( ) for p in obj . get_ports ( ) ]