def needs_gcloud(self):
gcloud_default_path = ['<STR_LIT>', '<STR_LIT>']<EOL>if platform.system() != "<STR_LIT>":<EOL><INDENT>gcloud_default_path = os.path.join(os.path.expanduser('<STR_LIT>'),<EOL>*gcloud_default_path)<EOL><DEDENT>else:<EOL><INDENT>gcloud_default_path = os.path.join(os.environ['<STR_LIT>'],<EOL>'<STR_LIT>', '<STR_LIT>',<EOL>*gcloud_default_path)<EOL><DEDENT>return not os.getenv('<STR_LIT>',<EOL>'<STR_LIT>').startswith('<STR_LIT>')and gcloud_default_path not in os.environ["<STR_LIT>"].split(os.pathsep)and which('<STR_LIT>') is None<EOL>
Returns true if gcloud is unavailable and needed for
        authentication.