public function isSuperadmin($user_id = null)
    {
        if (isset($user_id)) {
            return $this->getSuperadminId() == $user_id;
        }

        return $this->getSuperadminId() == $this->uid;
    }
public function isSuperadmin($user_id = null)
    {
        if (isset($user_id)) {
            return $this->getSuperadminId() == $user_id;
        }

        return $this->getSuperadminId() == $this->uid;
    }
public function isSuperadmin ( $ user_id = null ) { if ( isset ( $ user_id ) ) { return $ this -> getSuperadminId ( ) == $ user_id ; } return $ this -> getSuperadminId ( ) == $ this -> uid ; }
Whether the user is super admin
@param integer|null $user_id
@return boolean
Whether the user is super admin