def get_property_values(self, prop_name, properties):
        """
            get_property_values(self, prop_name, properties) -> obj

                    Gets the property value

                Parameters :
                    - prop_name : (str) property name
                    - properties : (dict<str,obj>) properties
                Return     : (obj) the value for the given property name"""
        try:
            tg_type = self.get_property_type(prop_name, properties)
            val = properties[prop_name][2]
        except:
            val = []

        if is_array(tg_type) or (isinstance(val, collections_abc.Sequence) and not len(val)):
            return val
        else:
            if is_non_str_seq(val):
                return val[0]
            else:
                return val