parameters: (ctx, spec_name)
return_statement: return False
docstring: Check if the spec should be included when generating visual studio projects
docstring_summary: Check if the spec should be included when generating visual studio projects
docstring_tokens: Check if the spec should be included when generating visual studio projects
function: def is_valid_spec(ctx, spec_name):
      """ Check if the spec should be included when generating visual studio projects """
      if ctx.options.specs_to_include_in_project_generation == '':
          return True
  
      allowed_specs = ctx.options.specs_to_include_in_project_generation.replace(' ', '').split(',')
      if spec_name in allowed_specs:
          return True
  
      return False
function_tokens: def is_valid_spec ( ctx , spec_name ) : if ctx . options . specs_to_include_in_project_generation == '' : return True allowed_specs = ctx . options . specs_to_include_in_project_generation . replace ( ' ' , '' ) . split ( ',' ) if spec_name in allowed_specs : return True return False