How do add a condition to check if created node is language source (in a multilingual site)?
Check your created node if it has a $node->tnid. The tnid (translation id) would be not null if its a translation from another node.