Hello all,

I'm using the flags module. How can i check if a user is flagged? 

$flag = flag_get_flag('student_has_project'); 
$flag->is_flagged($user->uid);

Is this correct? I can't find it in official documentation.

I'm unflagging the user using Rules, but that doesn't seem to work.

Best,


Toon