Does it really worth it? Converting all the keys of props to an array to test the list? I would suspect this is not more costful to just test the presence of the properties we care about directly?