How I can create new condition functions as in_array() is_array() is_numeric() isset() empty() defined() array() can_moderate() can_moderate_calendar() exec_switch_bg() is_browser() is_member_of() ??
Use the hook template_safe_functions, and add to the $safe_functions array. Note that should not be used excessively, and should only be used if absolutely required.