Static function to see if a given into is Prime or not