(self, listener: UserListener, curriedArgNames: Sequence[str] = None)
Same as validate() but returns True/False instead of raising an exception.
Same as validate() but returns True/False instead of raising an exception.
Same as validate () but returns True / False instead of raising an exception .
def isValid(self, listener: UserListener, curriedArgNames: Sequence[str] = None) -> bool:
        """Same as validate() but returns True/False instead of raising an exception."""
        try:
            self.validate(listener, curriedArgNames=curriedArgNames)
            return True
        except ListenerMismatchError:
            return False
def isValid ( self , listener : UserListener , curriedArgNames : Sequence [ str ] = None ) -> bool : try : self . validate ( listener , curriedArgNames = curriedArgNames ) return True except ListenerMismatchError : return False