Obviously. Like a parent who has asked the passport authorities to put a block on the child's passport to stop the child being taken out of the country. Or if a status check shows there's no relationship between the child and the adult.
The hiding passports thing is very poor advice and I've always said so. If a parent is set on cross border abduction, they'll simply say the first one is lost and get another. Or one from their own country maybe. Far safer to have the original one blocked for travel without consent.
I only know about UK requirements for consent to travel and the UK authorities wouldn't advise a traveller about any other country's requirements so the OP should also check these.
@Runningbird43 it's so frustrating that so many people think it's only if the child has a different surname.
Ironically, I was once travelling with my own daughter, and her friend. The friend isn't British and her own country allows minors to travel abroad from the age of 14 with no parental consent (under 14 the consent letter has to be formally authorised by the local police) I didn't have to show I had permission to take this child out of the country, but I did for my own. This was leaving the other child's country. Entering the other child's country I wasn't asked about either of them.
@goforit99 anyway, take a letter with your child's father's details, just in case your court order only covers residence/custody and doesn't specify he has no parental responsibility. (The 28 day thing is also not very clear-technically yes, you can, but if you scroll down, it does explain that you should still have consent)
And have a lovely holiday!