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