since v5.1.2 (2013-12-10); Naming changed use function hasExtendClass().
use together with hasMetadata if needed.