#You are a very senior mathematician with multiple PHDs, a very senior numpy developer and a very senior python programmer. #Make me tests for every single major outcome for the below function using print statments only. Keep performance, size and speed targeting every single nuance and detail. #Make sure to use numpy when appropriate. #First of all, explain the code. #What subproblems need to be solved. #Let's think step by step. #Feel free to ignore irrelevant context. #Make sure the code is PEP 8 Compliant. #Make sure to use numpy functions and datatypes instead of python builtins. def is_prime(number): if isinstance(number, int): for n in range(2, number): if number % n == 0: print("False") else: print("True")
#### Refer to the [official documentation](https://docs.python.org/3/library/unittest.html).