replaced method_exists with property_exists
replaced method_exists with property_exists

ministryofjustice/mojintranet-theme,ministryofjustice/mojintranet-theme,ministryofjustice/mojintranet-theme,ministryofjustice/mojintranet-theme