We know that the sine function is periodic by its geometric definition. The Taylor/MacLaurin series expansion about 0 which is the basis of actual mechanisms for computing it is: $$\sin(x) = \sum_{n=0}^\infty \frac{(-1)^n}{(2n+1)!}x^{2n+1}$$
This series manages to be periodic with period $2\pi$ because it has an alternating sign.
Is there a way to tell if an arbitrary power series is periodic? More informally, if someone gave us the above summation for $\sin$ without telling us it was a trigonometric function, is there a procedure for discovering that it is periodic and finding the period?
Amendment: As pointed out in the answers, there is clearly no algorithm if the coefficients are allowed to be arbitrary, thus containing an unbounded amount of information. I should have asked "Under what limitations to a function defining the coefficients of a power series does there an exist algorithm for determining if the power series is periodic?"
In particular, if $f(n)$ is limited to a rational expression that would be accepted as a "closed-form" expression, as it is in the case of $\sin(x)$, does such an algorithm exist? If $f(n)$ is limited to being a simple arithmetic computation from $n$, can we determine if the function is periodic?