

from ...utils import is_transformers_available
from .pipeline_latent_diffusion_superresolution import LDMSuperResolutionPipeline


if is_transformers_available():
 from .pipeline_latent_diffusion import LDMBertModel, LDMTextToImagePipeline









def     __SCREAMING_SNAKE_CASE      (     lowercase_					)				->		bool:

    """simple docstring"""


    if not isinstance(lowercase_    ,   lowercase_					):
        __UpperCamelCase     						=  F"Input value of [number={number}] must be an integer"
        raise TypeError(lowercase_					)
    if number < 0 or number % 2 == 1:
        return False
    __UpperCamelCase     						=  int(number**0.5					)
    return number == number_sqrt * (number_sqrt + 1)


if __name__ == "__main__":
 import doctest

 doctest.testmod()






