original_string: public function getIsWriterAttribute()
  	{
  		$project = Project::getProjectByUrl(Route::Input('project'));
  		if ($project)
  		{
  			$writers = explode(',', $project->writers);
  			if (in_array(Auth::id(), $writers))
  			{
  				return $this->attributes['is_writer'] = true;
  			}
  			return $this->attributes['is_writer'] = false;
  		}
  	}
code: public function getIsWriterAttribute()
  	{
  		$project = Project::getProjectByUrl(Route::Input('project'));
  		if ($project)
  		{
  			$writers = explode(',', $project->writers);
  			if (in_array(Auth::id(), $writers))
  			{
  				return $this->attributes['is_writer'] = true;
  			}
  			return $this->attributes['is_writer'] = false;
  		}
  	}
code_tokens: public function getIsWriterAttribute ( ) { $ project = Project :: getProjectByUrl ( Route :: Input ( 'project' ) ) ; if ( $ project ) { $ writers = explode ( ',' , $ project -> writers ) ; if ( in_array ( Auth :: id ( ) , $ writers ) ) { return $ this -> attributes [ 'is_writer' ] = true ; } return $ this -> attributes [ 'is_writer' ] = false ; } }
docstring: This attribute specified user is write or not for logined user
  @return bool
docstring_tokens: This attribute specified user is write or not for logined user