original_docstring: Return if the user wants us to use existing resource or if thats what
      they think that they want, but they can't have.
  
      :param properties: The ctx node properties.
      :param prop_name: The property name to determine if its bool or not.
      :param resource_id: Name or ID.
      :return: bool
      
docstring: Return if the user wants us to use existing resource or if thats what
  they think that they want, but they can't have.
docstring_tokens: Return if the user wants us to use existing resource or if thats what they think that they want but they can ' t have .
code: def is_use_anyway(props, prop_name, resource_id):
      """Return if the user wants us to use existing resource or if thats what
      they think that they want, but they can't have.
  
      :param properties: The ctx node properties.
      :param prop_name: The property name to determine if its bool or not.
      :param resource_id: Name or ID.
      :return: bool
      """
      use_anyway = is_or_isnt(props, prop_name)
      if use_anyway and not resource_id:
          ctx_from_import.logger.error(
              'The property {} indicates that the resource may already exist, '
              'however an identifier was not provided. '
              'The plugin will behave as if use_if_exists is False.'.format(
                  prop_name))
          use_anyway = False
      return use_anyway
code_tokens: def is_use_anyway ( props , prop_name , resource_id ) : use_anyway = is_or_isnt ( props , prop_name ) if use_anyway and not resource_id : ctx_from_import . logger . error ( 'The property {} indicates that the resource may already exist, ' 'however an identifier was not provided. ' 'The plugin will behave as if use_if_exists is False.' . format ( prop_name ) ) use_anyway = False return use_anyway
short_docstring: Return if the user wants us to use existing resource or if thats what
  they think that they want, but they can't have.
short_docstring_tokens: Return if the user wants us to use existing resource or if thats what they think that they want but they can ' t have .
comment: """Return if the user wants us to use existing resource or if thats what
      they think that they want, but they can't have.
  
      :param properties: The ctx node properties.
      :param prop_name: The property name to determine if its bool or not.
      :param resource_id: Name or ID.
      :return: bool
      """