<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_layer_from_env(self):
 """This function creates a new layer, gets a list of all the current attributes, and attempts to find matching environment variables with the prefix of FJS\_. If matches are found it sets those attributes in the new layer. """

        self.add_layer()
        for attribute in self.get_attributes():
            env_attribute = os.environ.get('FJS_{}'.format(attribute))
            if env_attribute:
                setattr(self, attribute, env_attribute)