code: public function supportsAttribute($conditionType, $attribute)
      {
          if (!isset($GLOBALS['METAMODELS']['inputscreen_conditions'][$conditionType]['attributes'])) {
              return null;
          }
  
          // @codingStandardsIgnoreStart Silencing errors is discouraged
          @trigger_error('Configuring input screen conditions via global array is deprecated. ' .
              'Please implement/configure a valid condition factory.', E_USER_DEPRECATED);
          // @codingStandardsIgnoreEnd
  
          $allowedAttributes = $GLOBALS['METAMODELS']['inputscreen_conditions'][$conditionType]['attributes'];
  
          return (\is_array($allowedAttributes) && !\in_array($attribute, $allowedAttributes, true));
      }
docs: Test if an attribute type is supported for the passed condition type.
  
  @param string $conditionType The condition type.
  @param string $attribute     The attribute type.
  
  @return bool|null
  
  @SuppressWarnings(PHPMD.Superglobals)
  @SuppressWarnings(PHPMD.CamelCaseVariableName)