code: function OrdinaryHasMetadata(MetadataKey, O, P) {
              var hasOwn = OrdinaryHasOwnMetadata(MetadataKey, O, P);
              if (hasOwn)
                  return true;
              var parent = OrdinaryGetPrototypeOf(O);
              if (!IsNull(parent))
                  return OrdinaryHasMetadata(MetadataKey, parent, P);
              return false;
          }
docs: 3.1.1.1 OrdinaryHasMetadata(MetadataKey, O, P) https://rbuckton.github.io/reflect-metadata/#ordinaryhasmetadata