check_range_alpha function

Check range of alpha