Add IsOptions function

It is a bug of merging