{% set custom_signup_content = frappe.db.get_single_value("LMS Settings", "custom_signup_content") %}
{% if frappe.db.get_single_value("LMS Settings", "user_category") %}
{% endif %} {% if custom_signup_content %}
{% endif %}