to find if a node is a part of any cycle or not

my teacher asked this question to me but i could not give a answer to that. the question is : can you find out whether in a graph for each vertex whether it’s a part of a cycle or not?