Divisor 5

Prime Number:
Yes!

Test for Divisibility by 5

Ignore everything except the final digit. If this is 0 or 5 then the original number is divisible by 5.

Easy!