def _validateGenericParameters(blank, strip, allowlistRegexes, blocklistRegexes):
<EOL>if not isinstance(blank, bool):<EOL><INDENT>raise PySimpleValidateException('<STR_LIT>')<EOL><DEDENT>if not isinstance(strip, (bool, str, type(None))):<EOL><INDENT>raise PySimpleValidateException('<STR_LIT>')<EOL><DEDENT>if allowlistRegexes is None:<EOL><INDENT>allowlistRegexes = [] <EOL><DEDENT>try:<EOL><INDENT>len(allowlistRegexes) <EOL><DEDENT>except:<EOL><INDENT>raise PySimpleValidateException('<STR_LIT>')<EOL><DEDENT>for response in allowlistRegexes:<EOL><INDENT>if not isinstance(response[<NUM_LIT:0>], str):<EOL><INDENT>raise PySimpleValidateException('<STR_LIT>')<EOL><DEDENT><DEDENT>if blocklistRegexes is None:<EOL><INDENT>blocklistRegexes = [] <EOL><DEDENT>try:<EOL><INDENT>len(blocklistRegexes) <EOL><DEDENT>except:<EOL><INDENT>raise PySimpleValidateException('<STR_LIT>')<EOL><DEDENT>for response in blocklistRegexes:<EOL><INDENT>if isinstance(response, str):<EOL><INDENT>continue<EOL><DEDENT>if len(response) != <NUM_LIT:2>:<EOL><INDENT>raise PySimpleValidateException('<STR_LIT>')<EOL><DEDENT>if not isinstance(response[<NUM_LIT:0>], str) or not isinstance(response[<NUM_LIT:1>], str):<EOL><INDENT>raise PySimpleValidateException('<STR_LIT>')<EOL><DEDENT><DEDENT>
Returns None if the blank, strip, and blocklistRegexes parameters are valid
    of PySimpleValidate's validation functions have. Raises a PySimpleValidateException
    if any of the arguments are invalid.