def METHOD_NAME(self, stmt):
    """
    Deletes the handed over statement.
    :param stmt:
    :type stmt:
    :return: True if deleted, otherwise False.
    :rtype: bool
    """
    self.stmts.remove(stmt)