How to check if multiple array keys exists