Angular Typescript Check If Object Is Empty