hasMetadata

public synchronized boolean hasMetadata(T subject, String metadataKey)

Tests to see if getClassById metadata attribute has been set on an object.

Return

the existence of the metadataKey within subject.

Parameters

subject

the object upon which the has-metadata test is performed.

metadataKey

the unique metadata key being queried.