You could consider more general approach to this function.
If objective is to determine whether number is prime or not then the answer can be yes or no which translates into Python as True or False. Of course, depending on specifics False may not be good enough (if for some reason distinction must be made between not primes and not valid numbers) but this is validation problem which should/could be dealt separately.
As for solution there is no need to test even numbers after 2 (if number doesn't divide with 2 then it is odd and will not divide with 4, 6, 8...). But.... you should also keep in mind that there is one even number among primes: 2. Upper limit should be not number itself but square root of the number which primality is to be tested. These are low hanging fruits which significantly reduce calculations needed.