Additional checks to ensure the object exist before checking properties of that object.