code: public static function isErr($value = '')
      {
          $value = self::flattenSingleValue($value);
  
          return self::isError($value) && (!self::isNa(($value)));
      }
docs: IS_ERR.
  
  @param mixed $value Value to check
  
  @return bool