What this means:

if(my.state)
{
...

I saw it in an old script where is my.state definded with one of skill but I do not know what that means. The only thing on my mind is (my.state) is the same as (my.state == 0)?