A function is periodic iff