def METHOD_NAME(self):
    try:
        pcpconf = open(self.pcp_conffile, "r")
        lines = pcpconf.readlines()
        pcpconf.close()
    except IOError:
        return False
    env_vars = {}
    for line in lines:
        if line.startswith('#'):
            continue
        try:
            (key, value) = line.strip().split('=')
            env_vars[key] = value
        except (ValueError, KeyError):
            pass
    try:
        self.pcp_sysconf_dir = env_vars['PCP_SYSCONF_DIR']
        self.pcp_var_dir = env_vars['PCP_VAR_DIR']
        self.pcp_log_dir = env_vars['PCP_LOG_DIR']
    except Exception:
        # Fail if all three env variables are not found
        return False
    return True