def filter ( self, person ):
        """ Returns whether an object passes the filter or not.
        """
        return (person.name.lower().find( self.mname.lower() ) >= 0)

    #---------------------------------------------------------------------------
    #  Returns a user readable description of what the filter does:
    #---------------------------------------------------------------------------
dataset/ETHPy150Open enthought/traitsui/integrationtests/ui/table_editor_test.py/NameFilter.filter/original