parameters: (name, merge_multiple=False)
docstring: Generic validator for text-based tags.
docstring_summary: Generic validator for text-based tags.
docstring_tokens: Generic validator for text - based tags .
function: def _check(name, merge_multiple=False):
      """
      Generic validator for text-based tags.
      """
      if name in REQUIRED:
          if name in ALLOWXHTML:
              return _check_required(name, True, merge_multiple)
          return _check_required(name, merge_multiple=merge_multiple)
      elif name in OPTIONAL:
          if name in ALLOWXHTML:
              return _check_optional(name, True, merge_multiple)
          return _check_optional(name, merge_multiple=merge_multiple)
function_tokens: def _check ( name , merge_multiple = False ) : if name in REQUIRED : if name in ALLOWXHTML : return _check_required ( name , True , merge_multiple ) return _check_required ( name , merge_multiple = merge_multiple ) elif name in OPTIONAL : if name in ALLOWXHTML : return _check_optional ( name , True , merge_multiple ) return _check_optional ( name , merge_multiple = merge_multiple )