check prototype exist