def find_feat_part(artist, albumartist):
 feat_part = None
 albumartist_split = artist.split(albumartist, 1)
 if (len(albumartist_split) <= 1):
  return feat_part
 elif (albumartist_split[(-1)] != ''):
  (_, feat_part) = split_on_feat(albumartist_split[(-1)])
 else:
  (lhs, rhs) = split_on_feat(albumartist_split[0])
  if lhs:
   feat_part = lhs
 return feat_part

def find_feat_part ( artist , albumartist ) : feat_part = None albumartist_split = artist . split ( albumartist , 1 ) if ( len ( albumartist_split ) <= 1 ) : return feat_part elif ( albumartist_split [ ( - 1 ) ] != '' ) : ( _ , feat_part ) = split_on_feat ( albumartist_split [ ( - 1 ) ] ) else : ( lhs , rhs ) = split_on_feat ( albumartist_split [ 0 ] ) if lhs : feat_part = lhs return feat_part
attempt to find featured artists in the items artist fields and return the results .