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

@param AccountInterface $account
@param Site $site

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