// Public function that check if user has a profile
Public function that check if user has a profile
Public function that check if user has a profile
pub fn has_profile(owner: &T::AccountId) -> Result<bool, Error<T>>  {
			// Check if an account has a profile
			Self::profiles(owner).ok_or(<Error<T>>::NoProfileCreated)?;
			Ok(true)
		}
pub fn has_profile ( owner : & T :: AccountId ) -> Result < bool , Error < T > > { // Check if an account has a profile Self :: profiles ( owner ) . ok_or ( < Error < T > > :: NoProfileCreated ) ? ; Ok ( true ) }
Public function that check if user has a profile
Public function that check if user has a profile
owner
&T::AccountId