parameters: (self)
return_statement: return prefer_copy
docstring: Whether 'prefer copy' is specified in request.
  
      Returns:
        whether 'prefer copy' is specified.
docstring_summary: Whether 'prefer copy' is specified in request.
docstring_tokens: Whether prefer copy is specified in request .
function: def IsPreferCopy(self):
      """Whether 'prefer copy' is specified in request.
  
      Returns:
        whether 'prefer copy' is specified.
      """
      prefer_copy = False
      prefer_copy_value = self.GetParameter(constants.PREFER_COPY)
      if prefer_copy_value and (prefer_copy_value.capitalize() == "Y"):
        prefer_copy = True
  
      return prefer_copy
function_tokens: def IsPreferCopy ( self ) : prefer_copy = False prefer_copy_value = self . GetParameter ( constants . PREFER_COPY ) if prefer_copy_value and ( prefer_copy_value . capitalize ( ) == "Y" ) : prefer_copy = True return prefer_copy