code: def infer_complexes(stmts):
          
          interact_stmts = _get_statements_by_type(stmts, Modification)
          linked_stmts = []
          for mstmt in interact_stmts:
              if mstmt.enz is None:
                  continue
              st = Complex([mstmt.enz, mstmt.sub], evidence=mstmt.evidence)
              linked_stmts.append(st)
          return linked_stmts
docs: Return inferred Complex from Statements implying physical interaction.
  
          Parameters
          ----------
          stmts : list[indra.statements.Statement]
              A list of Statements to infer Complexes from.
  
          Returns
          -------
          linked_stmts : list[indra.mechlinker.LinkedStatement]
              A list of LinkedStatements representing the inferred Statements.