fix `is_prime` method name