Function to check Pointer - Prime numbers
def isPointerPrime ( n ) : NEW_LINE INDENT if ( isPrime ( n ) and ( n + digProduct ( n ) == nextPrime ( n ) ) ) : NEW_LINE INDENT return True NEW_LINE DEDENT else : NEW_LINE INDENT return False NEW_LINE DEDENT DEDENT