<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create_profile(self, profile_name, names, values):
 """Creates a new profile. in profile_name of type str The profile name. Must not exist, otherwise an error is raised. in names of type str Names of properties. in values of type str Values of set properties. """

        if not isinstance(profile_name, basestring):
            raise TypeError("profile_name can only be an instance of type basestring")
        if not isinstance(names, list):
            raise TypeError("names can only be an instance of type list")
        for a in names[:10]:
            if not isinstance(a, basestring):
                raise TypeError(
                        "array can only contain objects of type basestring")
        if not isinstance(values, list):
            raise TypeError("values can only be an instance of type list")
        for a in values[:10]:
            if not isinstance(a, basestring):
                raise TypeError(
                        "array can only contain objects of type basestring")
        self._call("createProfile",
                     in_p=[profile_name, names, values])