public function userIsWebmaster(AccountInterface $account, Site $site = null)
    {
        return $this->userHasRole($account, $site, Access::ROLE_WEBMASTER);
    }
public function userIsWebmaster(AccountInterface $account, Site $site = null)
    {
        return $this->userHasRole($account, $site, Access::ROLE_WEBMASTER);
    }
public function userIsWebmaster ( AccountInterface $ account , Site $ site = null ) { return $ this -> userHasRole ( $ account , $ site , Access :: ROLE_WEBMASTER ) ; }
Is the given user a webmaster.
If a site is given, is the given user webmaster of this site.

@param AccountInterface $account
@param Site $site

@return boolean
Is the given user a webmaster . If a site is given is the given user webmaster of this site .