Python Check If Array Contains An Element From The Periodic Table