Check If Two Arrays Have Common Elements Python