Addes method to test if photon or not

No match.