def check_xxx_funccheck_aaa_func(a=None): """Check if xxxaaa.
@param a: Some check specific argument.
# Create the checking object.
check_xxx check_aaa = Check(check_xxx_funccheck_aaa_func)
</source>
# relax module imports.
from xxx aaa import check_xxxcheck_aaa
def aaabbb():
"""Some function."""
a = '600 MHz'
b = 600
check_xxxcheck_aaa(a, b=b, escalate=2)
</source>
Note that the lib.checks.Check.__call__() method will take the escalate argument for itself and pass 'a' and 'b' into the 'check_xxx_funccheck_aaa_func' function as arguments.