Check If Element Already Exists In Array Python Example Of A Define