protected static function evaluateCondition($arguments = null): bool {
    $uid         = intval($arguments['uid']);
    $languageUid = isset($arguments['languageUid']) ? intval($arguments['languageUid']) : self::getLanguageService()->getLanguageUid();
    $page        = self::getPageService()->getPageByUid($uid, $languageUid);
    $hidden      = (boolean) $page['hidden'];

    return $hidden;
  }
protected static function evaluateCondition($arguments = null): bool {
    $uid         = intval($arguments['uid']);
    $languageUid = isset($arguments['languageUid']) ? intval($arguments['languageUid']) : self::getLanguageService()->getLanguageUid();
    $page        = self::getPageService()->getPageByUid($uid, $languageUid);
    $hidden      = (boolean) $page['hidden'];

    return $hidden;
  }
protected static function evaluateCondition ( $ arguments = null ) : bool { $ uid = intval ( $ arguments [ 'uid' ] ) ; $ languageUid = isset ( $ arguments [ 'languageUid' ] ) ? intval ( $ arguments [ 'languageUid' ] ) : self :: getLanguageService ( ) -> getLanguageUid ( ) ; $ page = self :: getPageService ( ) -> getPageByUid ( $ uid , $ languageUid ) ; $ hidden = ( boolean ) $ page [ 'hidden' ] ; return $ hidden ; }
Evaluates the condition.

@param array|null $arguments The arguments
@return bool Whether the condition is fulfilled
Evaluates the condition .