protected fun isValid(input: INPUT): Boolean
Function used to define whether a condition is satisfied with given input. Typically, this function should be invoked from Rule.canPass.