Check if JavaScript objects has only specific properties | Heykuki News