Perion Network interview question

Write a code that checks if a given list is circular.