acceptOnlyIf name doesn't tell what the function does. acceptEach or acceptAll could be a clearer alternatives (at least for a python programmer (there are any() and all() general functions in Python)).
acceptOnlyIf name doesn't tell what the function does. acceptEach or acceptAll could be a clearer alternatives (at least for a python programmer (there are any() and all() general functions in Python)).