This function checks if a user (which is logged in) is subscribed in a course or not. This is a boolean function, meaning it returns either TRUE or FALSE.
(integer) The ID of the course you want to check.
(boolean) Set it to TRUE if you want to consider child courses or FALSE if not. Default is FALSE.
TRUE if the user is subscribes or FALSE of not.
- Since: 3.1.7