Check method existance.