licence check