def method_definition_has_integration(self, method_definition):
if method_definition.get(self._X_APIGW_INTEGRATION):<EOL><INDENT>return True<EOL><DEDENT>return False<EOL>
Checks a method definition to make sure it has an apigw integration

:param dict method_defintion: method definition dictionary
:return: True if an integration exists