string_cy_validation_async#

async static EdgarHelpers.string_cy_validation_async(period)[source]#

Helper method to asynchronously validate if a string is in ‘CY####’ or ‘CY####Q#’ format.

Parameters:

period (str) – The reporting period string to validate.

Returns:

True if the string is in ‘CY####’ or ‘CY####Q#’ format, False otherwise.

Return type:

bool