Added check on property to avoid notices in HHVM.

The direct access on the inline property of ClassMetadata lead to a notice in the HHVM. Added an isset statement before to avoid that.