rename check_access to check_analysis_access